package classes.view.component
{
	import flash.events.Event;
	
	public class GameEvent extends Event
	{
		public static const ANSWER_CLICK:String = 'answerClick';
		public static const QUIZ_LOADED:String = 'quizloaded';
		public static const PENALTY_OVER:String = 'penaltyOver';
		public static const TIME_OVER:String = 'timeOver';
		public static const GAME_OVER:String = 'gameOver';
		public static const NEXT_STEP:String = 'nextStep';
		public var idx : int;
		
		
		public function GameEvent(type:String, _idx :int = 0 ,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			idx  = _idx
			super(type, bubbles, cancelable);
		}
		
		public override function clone():Event
		{
			return new GameEvent(type, idx ,bubbles, cancelable);
		}
	}
}